﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsManager.ascx.cs" Inherits="Admin_Uc_News_NewsManager" %>
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<div id="wrapper">
    <asp:Label runat="server" ID="note"></asp:Label>
    <div id="content">
        <div id="box">
            <h3>
                News</h3>
            <div id="form">
                <fieldset id="filter">
                    <legend>FILTER</legend>Group News:
                    <select name="choice" id="groupNews">
                    </select>
                </fieldset>
                <div align="center">
                    <input id="btnFilter" type="button" value="Filter" />
                    <input id="btnReset" type="reset" />
                </div>
            </div>
            <table id="gridList" width="100%">
                <thead>
                    <tr>
                        <th width="40px">
                            <a href="#">ID<img src="../../img/icons/arrow_down_mini.gif" width="16" height="16"
                                align="absmiddle" /></a>
                        </th>
                        <th>
                            <a href="#">Title</a>
                        </th>
                        <th width="100px">
                            <a href="#">Group Name</a>
                        </th>
                        <th width="60px">
                            <a href="#">Action</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
            <div id="pager">
                Page <a href="#">
                    <img src="../../img/icons/arrow_left.gif" width="16" height="16" /></a>
                <input size="1" value="1" type="text" name="page" id="pageIndex" />
                <a href="#">
                    <img src="../../img/icons/arrow_right.gif" width="16" height="16" /></a>of 42
                pages | View
                <select name="view" id="pageMax">
                    <option>10</option>
                    <option>20</option>
                    <option>50</option>
                    <option>100</option>
                </select>
                per page | Total <strong>420</strong> records found
            </div>
        </div>
        <br />
        <div id="box">
            <h3 id="addNews">
                Add News</h3>
            <div id="form">
                <form id="formAdd" method="post" runat="server">
                <fieldset id="addNews">
                    <legend>NEWS INFORMATION</legend>
                    <label>
                        Title :
                    </label>
                    <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
                    <br />
                    <label>
                        Group News :
                    </label>
                    <asp:DropDownList ID="ddlGroupNews" runat="server">
                    </asp:DropDownList>
                    <br />
                    <label>
                        Description :
                    </label>
                    <asp:TextBox TextMode="MultiLine" Height="50px" ID="txtDescription" runat="server"></asp:TextBox>
                    <br />
                    <label>
                        Thumbnail :
                    </label>
                    <div id="upload1">
                    </div>
                    <label>
                        Status :
                    </label>
                    <asp:TextBox ID="txtStatus" runat="server" Text="1"></asp:TextBox>
                    <br />
                    <asp:CheckBox ID="cbxIsActive" runat="server" Checked="true" Text="Is Active" TextAlign="Right"
                        AutoPostBack="false" />
                    <br />
                    <label>
                        Content :
                    </label>
                    <label class="clearTable">
                        <FTB:FreeTextBox Width="690px" ID="txtContent" runat="server" />
                    </label>
                </fieldset>
                <input type="hidden" id="photos1" runat="server" />
                <div align="center">
                    <asp:Button ID="btnAdd" runat="server" Text="Add" OnClientClick="Admin.News.UpdatePhotosLink();"
                        OnClick="btnAdd_Click" />
                    <input id="button2" type="reset" />
                </div>
                </form>
            </div>
        </div>
    </div>
</div>
